<style type="text/css">
.module_products_preview .one_product
{
	float:left;
	width:24%;
	margin:0 0 10px 1%;
}
.module_products_preview .one_product img
{
	display:block;
	margin:0 auto;
}
.module_products_preview .one_product .name
{
	height:2.9em;
	overflow:hidden;
}
</style>
<div class="module_products_preview">
	<?php
		if(empty($v['products_preview']))
		{
			echo '';
		}
		else
		{
		foreach($v['products_preview'] as $data)
		{
			echo '<div class="one_product">';
			echo '<img height="' . ConfigParser::get('fd', 'product_preview_img_height') . '" width="' . ConfigParser::get('fd', 'product_preview_img_width') . '" src="' . $data['img'] . '" alt="" />';
			echo '<div class="name">';
			echo '<a href="' . FdHelper::encodeProductUri($v['uri_data'],$data['id']) . '">' . $data['name'] . '</a>';
			echo '</div>';
			echo '</div>';
		}
		}
	?>
	<div class="clear"></div>
</div>
